package com.cropdoctor.model.po;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@ApiModel(value = "HistoryImgDisPo",description = "病虫害识别历史数据")
@TableName("history_ImgDis")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class HistoryImgDisPo  {
    @TableId(type= IdType.AUTO,value = "id_h")
    @ApiModelProperty(value = "查询history专用id",required = true)
    Long idH;

    @ApiModelProperty(value = "果蔬分类名称",required = true)
    String name;

    @ApiModelProperty(value = "对应用户id",required = true)
    Long idUser;

    @ApiModelProperty(value = "病虫害分类置信度json格式数组",required = true)
    String confidences;

    @ApiModelProperty(value = "对应病虫害分类名称json格式数组",required = true)
    String classifications;

    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "对应历史记录搜索的时间",required = true)
    LocalDateTime createDateTime;

    @ApiModelProperty(value = "图片地址",required = true)
    String url;
}
